<template>
	<view class="container">
		<uni-card title="维修申请状态更新通知" :thumbnail="avatar" @click="onClick">
			<view class="uni-body">您提交的【门把手脱落】维修申请已通过申请，即将有工作人员上门维修，请注意接听来电！</view>
			<view class="detail">
				<text>查看详情</text>
				<uni-icons style="color: #c1c1c1;" type="right" size="14"></uni-icons>
			</view>
			<uni-icons style="color:#f46565;" class="notice" type="smallcircle-filled" size="20"></uni-icons>
		</uni-card>
		
		<uni-card title="维修申请状态更新通知" :thumbnail="avatar" @click="onClick">
			<view class="uni-body">您提交的【门把手脱落】维修申请已通过申请，即将有工作人员上门维修，请注意接听来电！</view>
			<view class="detail">
				<text>查看详情</text>
				<uni-icons style="color: #c1c1c1;" type="right" size="14"></uni-icons>
			</view>
			<uni-icons style="color:#f46565;" class="notice" type="smallcircle-filled" size="20"></uni-icons>
		</uni-card>
		
		<uni-card title="维修申请状态更新通知" :thumbnail="avatar" @click="onClick">
			<view class="uni-body">您提交的【门把手脱落】维修申请已通过申请，即将有工作人员上门维修，请注意接听来电！</view>
			<view class="detail">
				<text>查看详情</text>
				<uni-icons style="color: #c1c1c1;" type="right" size="14"></uni-icons>
			</view>
			<uni-icons style="color:#f46565;" class="notice" type="smallcircle-filled" size="20"></uni-icons>
		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				avatar: '/static/images/repair.png',
			}
		},
		methods: {
			onClick(e) {
				console.log(e)
				uni.navigateTo({
					url:'/pages/maintenancereport/repairdetails/repairdetails'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.container {
		width: 750rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;

		/deep/.uni-card {
			position: relative;

			.notice {
				position: absolute;
				right: 34rpx;
				top: 46rpx;
			}

			.uni-card__content {
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: space-around;

				.uni-body {
					color: #999999;
				}

				.detail {
					width: 600rpx;
					height: 88rpx;
					line-height: 88rpx;
					text-align: right;
					color: #009eff;
					border-top: 1px dashed #c1c1c1;
				}
			}
		}

	}
</style>
